home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d12
/
v8n01.arc
/
CATALOGX.BAT
< prev
next >
Wrap
DOS Batch File
|
1988-12-13
|
367b
|
11 lines
ECHO OFF
ECHO About to delete all lines from CATALOG.DIR
ECHO that contain the string "%1". Press any key
ECHO to do it, or press Ctrl-Break to abort.
PAUSE > NUL
FIND "%1" C:\CATALOG.DIR > C:\CATALOG.OUT
TYPE C:\CATALOG.DIR | FIND /V "%1" > C:\CATALOG.TMP
DEL C:\CATALOG.DIR
REN C:\CATALOG.TMP CATALOG.DIR
ECHO Deleted lines are stored in C:\CATALOG.OUT